package com.example.demo.infra.mapper;

import com.example.demo.api.dto.EmployeeDTO;
import com.example.demo.domain.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {
    Employee findEmployeeById(Long employeeId);
    List<Employee> findEmployeeByCondition(EmployeeDTO employee);
    Integer countEmployeeLen();
    Integer insertEmployee(EmployeeDTO employee);
    Integer removeEmployee(Long employeeId);
    Integer updateEmployee(EmployeeDTO employee);
}
